package com.woniu.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户收藏表
 * </p>
 *
 * @author 何荣卓
 * @since 2023-02-17
 */
@Getter
@Setter
  @TableName("t_user_article_collection")
@ApiModel(value = "UserArticleCollection对象", description = "用户收藏表")
public class UserArticleCollection implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.ASSIGN_ID)
      private String id;

    private String userId;

    private String articleId;

      @ApiModelProperty("逻辑删除;（1 表示是，0 表示否）")
      private Integer isDeleted;

      @ApiModelProperty("创建时间")
      private LocalDateTime createdTime;

      @ApiModelProperty("修改时间")
      private LocalDateTime updatedTime;
}
